
const express = require("express");
const router = express.Router();
const login = require("./login/users")
const userInfo = require("./userInfo/userList")
const auth = require("./auth/authList")
const { checkToken } = require("../../utils/authToken")
router.use("/user/", login);
router.use("/user/", (req, res, next) => { checkToken(req, res, next) }, userInfo);
router.use("/user/", (req, res, next) => { checkToken(req, res, next) }, auth);
module.exports = router;